package org.eiahe.hr.interview.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.eiahe.hr.interview.domain.InterviewBehaviorOptions;
import org.eiahe.hr.interview.service.InterviewBehaviorOptionsService;
import org.eiahe.hr.interview.mapper.InterviewBehaviorOptionsMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author :zhangnn
 * @className :InterviewBehaviorOptionsImpl
 * @description: TODO
 * @date 2025-08-20 13:26:35
 */
@Slf4j
@Service
public class InterviewBehaviorOptionsImpl extends ServiceImpl<InterviewBehaviorOptionsMapper, InterviewBehaviorOptions> implements InterviewBehaviorOptionsService {
    @Override
    public List<InterviewBehaviorOptions> selectOptions(Long id) {
        return this.baseMapper.selectList(new QueryWrapper<InterviewBehaviorOptions>().eq("question_id",id));
    }
}
